#include <util/tools.h>
#include <iostream>

namespace util
{

bool isBlockClosed(const glm::vec3& block1, const glm::vec3 block2)
{
    return (fabs(block1.x - block2.x) + fabs(block1.y - block2.y) + fabs(block1.z - block2.z)) == 1.0f;
}

void printPosition(const glm::vec3& position)
{
    std::cout << '[' << position.x << ", " << position.y << ", " << position.z << "]\n";
}

}